using System;
using Dapper.Contrib.Extensions;

namespace PMS.OperationPlateform.Domain.Entitys
{
	[Serializable]
	[Table("AdvertisingOption")]
	public partial class AdvertisingOption
	{
		 /// <summary> 
		 /// </summary> 
		[Key]  
		public int Id {get;set;}

		 /// <summary> 
		 /// 广告位置： 1->APP开机屏幕 2->PC首页Banner 3->PC首页ad1 4->PC首页ad2 5->PC首页ad3 6->文章内banner 7->学校点评 8->点评问答 
		 /// </summary> 
		public byte Location {get;set;}

		 /// <summary> 
		 /// 宽高比例 
		 /// </summary> 
		public double Rate {get;set;}

		 /// <summary> 
		 /// 是否屏蔽 
		 /// </summary> 
		public bool? Show {get;set;}

		 /// <summary> 
		 /// 上线时间 
		 /// </summary> 
		public DateTime UpTime {get;set;}

		 /// <summary> 
		 /// </summary> 
		public DateTime ExpireTime {get;set;}

		 /// <summary> 
		 /// </summary> 
		public DateTime? CreateTime {get;set;}

		 /// <summary> 
		 /// </summary> 
		public string Creator {get;set;}

		 /// <summary> 
		 /// </summary> 
		public DateTime? UpdateTime {get;set;}

		 /// <summary> 
		 /// </summary> 
		public string Updator {get;set;}

		 /// <summary> 
		 /// 外键广告ID 
		 /// </summary> 
		public int ADID {get;set;}

		 /// <summary> 
		 /// 所处广告位顺序 
		 /// </summary> 
		public decimal Sort {get;set;}


	}
}